home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / os2 / dxp231.zip / DXP.DOC next >
Text File  |  1993-11-08  |  55KB  |  1,492 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                                             Disk eXPress
  9.  
  10.                                                         The SuperCharged
  11.                                                Diskette Imaging software
  12.                                                         for OS/2 and DOS
  13.  
  14.                                                                      DXP
  15.                                                             Version 2.31
  16.                                                                 11/08/93
  17.  
  18.  
  19.  
  20.                                   TABLE OF CONTENTS
  21.        _________________________________________________________________
  22.  
  23.             1.0. INTRODUCTION TO Disk eXPress ........................3
  24.                  1.1. What is Disk eXPress? ..........................3
  25.                  1.2. Features of Disk eXPress .......................3
  26.                  1.3. New features in Disk eXPress Version 2 .........4
  27.                  1.4. New Disk eXPress companion program: Xtract .....4
  28.                  1.5. What's new in Version 2.10 .....................5
  29.                  1.6. What's new in Version 2.20 .....................5
  30.                  1.7. What's new in Version 2.31 .....................5
  31.             2.0. SYSTEM REQUIREMENTS .................................6
  32.             3.0. COPYRIGHT NOTICE ....................................6
  33.             4.0. WARRANTY ............................................6
  34.             5.0. COST OF Disk eXPress ................................7
  35.             6.0. CONTENTS OF THIS PACKAGE ............................7
  36.             7.0. SYNTAX ..............................................8
  37.                  7.1. Quick start ....................................8
  38.                  7.2. Disk eXPress help screens ......................10
  39.             8.0. COMMAND LINE SWITCHES DESCRIPTION ...................12
  40.                  8.1. Regular mode ...................................12
  41.                  8.2. Extract mode ...................................14
  42.                  8.3. Batch mode support .............................16
  43.                  8.4. Disk eXPress real-time bar graph display .......16
  44.             9.0. EXAMPLES ............................................18
  45.                  9.1. Example 1 ......................................18
  46.                  9.2. Example 2 ......................................19
  47.                  9.3. Example 3 ......................................19
  48.                  9.4. Example 4 ......................................20
  49.                  9.5. Example 5 ......................................20
  50.                  9.6. Example 6 ......................................21
  51.                  9.7. Example 7 ......................................21
  52.                  9.8. Example 8 ......................................22
  53.                  9.9. Example 9 ......................................22
  54.             10.0. ERROR MESSAGES .....................................23
  55.                  10.1. List of error messages ........................23
  56.                  10.2. List of error return codes ....................24
  57.             11.0. LIMITATIONS ........................................26
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.                                                                        2
  76.  
  77.  
  78.  
  79.        1.0. INTRODUCTION TO Disk eXPress
  80.        _________________________________________________________________
  81.  
  82.        1.1. What is Disk eXPress?
  83.  
  84.        Disk eXPress (DXP) allows a diskette image to be created for
  85.        electronic transmission.  Think of it as a way for preparing a
  86.        diskette to be FAXed like a regular document.  Once the diskette
  87.        image is created, it can be transmitted with the use of a modem
  88.        on a regular phone line, or any other electronic networks.
  89.  
  90.        One area of use is to archive diskette images on hard drives or
  91.        tapes.  This can be useful for companies maintaining an
  92.        electronic bulletin board service for clients, in which diskette
  93.        images for the latest hardware drivers, or fixes are available
  94.        for download.  This guarantees the contents of the diskette to be
  95.        the same as the original -- including all directory structures,
  96.        date and time stamps of all the files and directories, and the
  97.        location of any hidden information.
  98.  
  99.        For simple file archival purpose, the use of Disk eXPress should
  100.        be avoided.  The user is encouraged to use one of the many fine
  101.        archive programs available on the market.  Disk eXPress is useful
  102.        for archiving bootable diskettes, diskettes containing hidden
  103.        information, or files and directory entries containing characters
  104.        unrecognizable by the usual file system functions.  Unlike a file
  105.        archive program, Disk eXPress requires a diskette drive and a
  106.        diskette in order to restore any information stored in an image.
  107.  
  108.  
  109.        1.2. Features of Disk eXPress
  110.  
  111.        -  Disk eXPress recognizes all standard 512-byte per sector PC
  112.           style diskettes.  This includes 160K, 180K, 320K, 360K, 720K,
  113.           1.2M, 1.44M, and the latest 2.88M diskettes.  Any internal or
  114.           external diskette drives connected via DOS or OS/2 block
  115.           device drivers are recognized (ie: diskette drives accessed
  116.           via DRIVER.SYS, $FDD5.SYS, etc.)  All information on the
  117.           diskette is saved to a file for electronic transmission, no
  118.           information is lost! (see /a switch for detail).
  119.        -  Disk eXPress can be used for diskette conversion.  For
  120.           example, a 360K diskette image can be restored onto a 720K,
  121.           1.44M, or 2.88M diskette.  If someone sends you a bootable
  122.           360K diskette image, you can restore it onto a 720K diskette,
  123.           and the resulting diskette will be bootable.
  124.        -  Advanced virus protection.  Disk eXPress detects illegal
  125.           program modifications whether it's by virus, or bad electronic
  126.           transmissions.
  127.        -  Multiple 32-bit CRC data protection.  The image is protected
  128.           by several 32-bit CRCs.  In some cases, if a non-critical part
  129.           of the image is modified, the resulting diskette will still be
  130.           usable.
  131.  
  132.  
  133.  
  134.                                                                        3
  135.  
  136.  
  137.  
  138.        -  Upgradability of the self-extracting code.  Disk eXPress
  139.           provides a means to upgrade the self-extracting code within
  140.           the image file for bug fixes, and future code enhancements
  141.           upgrade.
  142.  
  143.  
  144.        1.3. New features in Disk eXPress Version 2
  145.  
  146.        -  Disk eXPress is now a dual mode executable file.  It runs
  147.           under both OS/2 and DOS.  There is only one version of the
  148.           executable as opposed to two in the previous release.
  149.        -  Disk eXPress exploits the multi-threading capability when it
  150.           is run under OS/2.  It performs simultaneous disk I/O and data
  151.           compression.  This typically gives 10 to 50% speed up compare
  152.           to running it under DOS.
  153.        -  Disk eXPress supports long filename for diskette images
  154.           created under OS/2 with HPFS (High Performance File System)
  155.           disk partition.
  156.        -  New data compression algorithm based on a modified Lempel-Ziv-
  157.           Huffman method.  Disk eXPress now compresses smaller than
  158.           version 1, and is also 2 to 3 times faster.  The compression
  159.           rate is comparable to most file archive programs.  Compression
  160.           is dynamic -- non-compressible data is simply stored.
  161.        -  Real-time bar graph display showing current compression rate,
  162.           disk read/write and compression activities (this capability is
  163.           limited under DOS).
  164.        -  Self-extracting diskette image is also a dual mode executable.
  165.           /DOS and /OS2 switches are no longer required (please refer to
  166.           version 1 documentation).  All the extra functions are
  167.           removed, and are now built-into the extract mode of Disk
  168.           eXPress itself.
  169.        -  Disk eXPress can now create non-self-extracting image.  This
  170.           is useful for diskette archival purpose on hard drive or tape.
  171.        -  Diskette decompression code is now built-into Disk eXPress.
  172.           This can be used to decompress version 2 non-self-extracting
  173.           diskette image or Disk eXPress version 1 and 2 self-extracting
  174.           images.  It has the full set of options, including diskette
  175.           formatting, conversion, and verification.  The decompressor is
  176.           also fully multi-threaded under OS/2 to yield the fastest
  177.           diskette extraction time.
  178.        -  The /t switch is added to all the decompressors so that the
  179.           integrity of the image can be tested before committing the
  180.           lengthy diskette write process.
  181.  
  182.  
  183.        1.4. New Disk eXPress companion program: Xtract
  184.  
  185.        -  Xtract is a dual mode executable.  It features all the
  186.           decompression capability of Disk eXPress, including multi-
  187.           threading under OS/2.
  188.        -  It is used for distributing non-self-extracting diskette
  189.           images in which unlimited distribution right is granted for
  190.           Xtract after purchasing a licensed copy of Disk eXPress.
  191.  
  192.  
  193.                                                                        4
  194.  
  195.  
  196.  
  197.        -  Xtract is included in the licensed version of Disk eXPress
  198.           (not included in the shareware version).
  199.  
  200.  
  201.        1.5. What's new in Version 2.10
  202.  
  203.        -  New /q switch for QuickFormatting diskette.
  204.        -  New /DOS switch to create self-extracting images that run
  205.           under DOS and OS/2 DOS box ONLY.  Reduction of 14K overhead in
  206.           self-extracting code.
  207.        -  New /s switch in self-extracting image to bypass warning
  208.           prompt.
  209.        -  Code and compiler optimizations to reduce self-extracting code
  210.           size by 2K and at the same time, achieve a 10% overall speed
  211.           up.
  212.        -  Description can now be entered via environment variables
  213.           (DXPDESC1 to DXPDESC5).
  214.        -  Low level diskette access code has been completely rewritten
  215.           for the DOS side to allow full functionality of Disk eXPress
  216.           under OS/2 DOS box.
  217.        -  Prompt for additional selections ("Format once" and "Format
  218.           all") when a diskette write error is encountered.  This allows
  219.           formatting of just the current track or all subsequent tracks
  220.           before diskette writes.
  221.  
  222.  
  223.        1.6. What's new in Version 2.20
  224.  
  225.        -  Disk eXPress now reads non-DOS diskette.  Diskettes with 512-
  226.           byte sectors and conform to PC physical diskette formats are
  227.           supported.
  228.        -  New 32-bit OS/2 version of Disk eXPress is now included.  The
  229.           32-bit version typically runs 40% faster on the compression /
  230.           decompression thread and is functionally equivalent to the 16-
  231.           bit version.  It also consumes about the same amount of memory
  232.           as the 16-bit version when both are run under OS/2 2.x.  Note:
  233.           the 32-bit version will not run under real DOS.  However, it
  234.           can be launched from the DOS box of OS/2 2.1.
  235.  
  236.  
  237.        1.7. What's new in Version 2.31
  238.  
  239.        -  /fs option for sector skew optimization during diskette
  240.           formatting to allow fastest future diskette read/write speed
  241.           (available only under OS/2).
  242.        -  Threads priority tuning to achieve 5 to 10% increase in speed
  243.           (available only under OS/2).
  244.        -  /d switch for displaying description with self-extracting
  245.           images.
  246.        -  /p switch for specifying pass phrase for encrypting image
  247.           file.  Both the pass phrase and the encryption key are not
  248.           stored in the image file for increased security.
  249.  
  250.  
  251.  
  252.                                                                        5
  253.  
  254.  
  255.  
  256.        -  /w switch for wiping out unused tracks at the end of the
  257.           diskette during image extraction.
  258.        -  /a switch is extended to allow direct specification of non-DOS
  259.           diskette.
  260.  
  261.        -  For a list of bug fixes, please refer to the history file
  262.           (DXP.HST).
  263.  
  264.  
  265.        2.0. SYSTEM REQUIREMENTS
  266.        _________________________________________________________________
  267.  
  268.        IBM PC, PC-AT, PS/1, PS/2 and 100% compatibles.  Minimum 256K
  269.        conventional memory.  MS-DOS or PC-DOS version 3.20 or above;
  270.        OS/2 1.2 or above, including OS/2 Version 2.x, is required.  Hard
  271.        disk is required for storing large image file.  User must also
  272.        provide the necessary program(s) for sending diskette image files
  273.        through telephone network with the use of a modem, and whatever
  274.        is necessary with any other electronic networks.
  275.  
  276.  
  277.        3.0. COPYRIGHT NOTICE
  278.        _________________________________________________________________
  279.  
  280.        DXP/DXP32 (Disk eXPress)  Version 2.31  11/08/93
  281.        XTRACT/XTRACT32 (Xtract)  Version 2.31  11/08/93
  282.        (c) Copyright 1991-93 by Albert J. Shan.  All Rights Reserved.
  283.  
  284.        No part of this program may be disassembled, modified or altered
  285.        by any means.
  286.  
  287.  
  288.        4.0. WARRANTY
  289.        _________________________________________________________________
  290.  
  291.        I, Albert J. Shan, make no warranties, expressed or implied,
  292.        including, but not limited to, merchantability or fitness for any
  293.        particular purpose.  In no event shall Albert J. Shan be liable
  294.        for indirect or consequential damages arising from the use of the
  295.        software program.
  296.  
  297.        You are free to redistribute this shareware package in its
  298.        entirety.  No part of this package may be included as part of a
  299.        commercial package.  If you have any questions about commercial
  300.        distribution of Disk eXPress, I can be contacted at:
  301.  
  302.        Albert J. Shan                (After November 30, 1993)
  303.        866 Citadel Drive             4620 Granville Avenue
  304.        Port Coquitlam, B.C.          Richmond, B.C.
  305.        CANADA  V3C 5Y1               CANADA  V7C 1E4
  306.  
  307.        or via CompuServe, ID 70730,401
  308.        or via Internet, 70730.401@compuserve.com
  309.  
  310.  
  311.                                                                        6
  312.  
  313.  
  314.  
  315.        5.0. COST OF Disk eXPress
  316.        _________________________________________________________________
  317.  
  318.        The user is granted a 30 days trial period, after which he or she
  319.        is required to register the product.  The cost of a single
  320.        machine license is now $30 Canadian or $25 U.S.  Unlimited
  321.        distribution right of Xtract is granted upon licensing Disk
  322.        eXPress.  Please refer to the file ORDER.FRM or ORDERFRM.US for
  323.        details.
  324.  
  325.  
  326.        6.0. CONTENTS OF THIS PACKAGE
  327.        _________________________________________________________________
  328.  
  329.        The following files are included in this package:
  330.  
  331.            DXP.EXE         - 16-bit OS/2 and DOS executable
  332.            DXP32.EXE       - 32-bit OS/2 executable
  333.            DXP.DOC         - This documentation
  334.            DXP.HST         - History file
  335.            ORDER.FRM       - Canadian and international order form
  336.            ORDERFRM.US     - U.S. order form
  337.            README          - Last minute information
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.                                                                        7
  371.  
  372.  
  373.  
  374.        7.0. SYNTAX
  375.        _________________________________________________________________
  376.  
  377.        7.1. Quick start
  378.  
  379.        The syntax of Disk eXPress is very similar to the COPY command.
  380.        To create a diskette image, type:
  381.  
  382.          dxp drive: filename
  383.  
  384.        To create a diskette from an image file, type:
  385.  
  386.          dxp filename drive:
  387.  
  388.        For example, to create a diskette image from your drive B:,
  389.        simply type:
  390.  
  391.          dxp b: my_image
  392.  
  393.        The file "my_image.exe" will be created when Disk eXPress
  394.        finsihes.
  395.  
  396.        To create the diskette from the self-extracting file created
  397.        above, you type:
  398.  
  399.          my_image b:
  400.  
  401.        OR
  402.  
  403.          dxp my_image.exe b:
  404.  
  405.        Disk eXPress allows command switches to be specified anywhere on
  406.        the command line.  Spaces between command line switches are not
  407.        required.  By default, the file extension is ".EXE" regardless of
  408.        what user specifies.  When creating a non-self-extracting
  409.        diskette image with the /i switch, user is free to choose the
  410.        file extension.  For consistency, the recommended file extension
  411.        to use is ".DXP".
  412.  
  413.        For example, under OS/2 with HPFS drive, a non-self-extracting
  414.        diskette image can be created as follows:
  415.  
  416.          dxp a: "This is diskette 3 of 5.DXP" /i
  417.  
  418.        To create the diskette from the image:
  419.  
  420.          dxp "This is diskette 3 of 5.DXP" a: /f /v
  421.  
  422.        The /f switch tells Disk eXPress to format the diskette a track
  423.        at a time just before each track write.
  424.  
  425.        The /v switch tells Disk eXPress to verify the diskette write
  426.        after the track is written.
  427.  
  428.  
  429.                                                                        8
  430.  
  431.  
  432.  
  433.  
  434.        Note: When using quotes for HPFS filenames, make sure the quotes
  435.        are in front and after if you are specifying a full path:
  436.  
  437.        INCORRECT:
  438.  
  439.          dxp c:\"Disk Image 1.dxp" a:
  440.          c:\images\"Disk Image 2" a:
  441.  
  442.        CORRECT:
  443.  
  444.          dxp "c:\Disk Image 1.dxp" a:
  445.          "c:\images\Disk Image 2" a:
  446.  
  447.  
  448.        To QuickFormat a diskette in drive A:, type:
  449.  
  450.          dxp a: /q
  451.  
  452.        The /s switch may be used to bypass the QuickFormat warning
  453.        prompt.
  454.  
  455.  
  456.        You may stop Disk eXPress at any time by pressing Ctrl-C or Ctrl-
  457.        Break.  The BREAK ON/OFF setting under DOS is ignored.
  458.  
  459.        If Disk eXPress encounters any cluster marked as bad in the File
  460.        Allocation Table, you may receive a warning:
  461.  
  462.         X bad cluster(s) detected.
  463.         Bad clusters may not be reliably read by Disk eXPress!
  464.         However, if you do not encounter any 'Abort/Retry?'
  465.         message during read, the image should be fine.
  466.  
  467.        Note:
  468.        Disk eXPress will not detect bad clusters in advance if you by-
  469.        pass File Allocation Table (FAT) scanning by specifying the /a
  470.        switch.
  471.  
  472.        Disk eXPress or Xtract cannnot restore a diskette image onto a
  473.        diskette that contains physically bad sectors.
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.                                                                        9
  489.  
  490.  
  491.  
  492.        7.2. Disk eXPress help screens
  493.  
  494.        Type DXP at the OS/2 or DOS prompt to receive this help screen:
  495.  
  496.         Disk eXPress (16-bit OS/2 and DOS) V2.31  11/08/93  SHAREWARE VERSION
  497.         (c) Copyright 1991-93 Albert J. Shan.  All Rights Reserved.
  498.  
  499.         Regular mode: DXP [options] [drive:] [d:][path]filename
  500.           [options]  /?    Display extract mode help screen
  501.                      /a[c] Read the entire diskette [c = diskette capacity]
  502.                      /d    Input diskette image description (5 lines max.)
  503.                      /DOS  Output DOS only self-extracting executable
  504.                      /i    Output non-self-extracting diskette image
  505.                      /n    Disable data compression
  506.                      /p"s" Specify pass phrase "s = pass phrase"
  507.                      /s    Suppress overwrite prompt
  508.                     drive  Drive letter of the target diskette drive
  509.                  filename  Name of output file
  510.         Valid options with only filename specified:
  511.                      /d    Display description in image file
  512.                      /e    Edit description in image file
  513.                      /r    Replace or add self-extracting code to image file
  514.  
  515.         Note: Items enclosed in [] or "" are optional.
  516.               Diskette must not contain any unreadable sectors.
  517.  
  518.         Support formats: 160K, 180K, 320K, 360K, 1.2M, 720K, 1.44M
  519.                          and 2.88M standard 512-byte sector diskettes.
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.                                                                       10
  548.  
  549.  
  550.  
  551.        Type DXP /?, and you'll get the help screen for the extract mode:
  552.  
  553.         Disk eXPress (16-bit OS/2 and DOS) V2.31  11/08/93  SHAREWARE VERSION
  554.         *** Type DXP by itself to see the regular mode help screen ***
  555.  
  556.         Extract mode: DXP [options] [d:][path][filename] [drive:]
  557.           [options]  /t    Test image file integrity only
  558.                      /d    Display description in image file
  559.                      /f[s] Format target diskette [sector skew optimization]
  560.                      /p"s" Specify pass phrase "s = pass phrase"
  561.                      /s    Suppress overwrite prompt
  562.                      /v    Verify ON (system verify plus read and compare)
  563.                      /w    Wipe unused tracks
  564.                      /c    Convert image onto a higher density diskette
  565.                            (Target diskette must be pre-formatted, and
  566.                             of different form factor.  It also overrides /f)
  567.                  filename  Name of input file
  568.                     drive  Drive letter of the target diskette drive
  569.         Valid option with only drive specified:
  570.                      /q    QuickFormat target diskette
  571.  
  572.         Note: Items enclosed in [] are optional.
  573.               The target diskette must be free of defects (no bad sectors).
  574.  
  575.         Supported formats: 160K, 180K, 320K, 360K, 1.2M, 720K, 1.44M
  576.                            and 2.88M standard 512-byte sector diskettes.
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.                                                                       11
  607.  
  608.  
  609.  
  610.        8.0. COMMAND LINE SWITCHES DESCRIPTION
  611.        _________________________________________________________________
  612.  
  613.        When Disk eXPress is used under regular mode for making diskette
  614.        images, the following switches are available:
  615.  
  616.  
  617.        8.1. Regular mode
  618.  
  619.        /a   By default, Disk eXPress reads up to the last allocated
  620.             sector, according to the information it finds in the File
  621.             Allocation Table (FAT) in order to reduce the size of the
  622.             image file.  However, if there is any deleted files at the
  623.             end of FAT that you may want to recover later, the default
  624.             action will prevent you from a successful file recovery.
  625.             Use /a to tell Disk eXPress to create an exact duplicate of
  626.             the original diskette by saving ALL disk sectors to the
  627.             image file.
  628.  
  629.             When Disk eXPress detects non-DOS diskette, this switch will
  630.             be automatically applied.  If you suspect automatically
  631.             diskette sensing is incorrect, you can supply the actual
  632.             capacity of the diskette by speifying /ac, where c = 160,
  633.             180, 320, 360, 720, 1.2, 1.44, or 2.88.  Only the first 3
  634.             characters are checked, so /a1.44M is equivalent to /a1.4.
  635.  
  636.        /d   Prompt user to input description for the diskette image.  A
  637.             maximum of 5 lines of 40 characters each can be stored.
  638.             Disk eXPress bypasses user input, and reads the description
  639.             from the environment variables DXPDESC1 to DXPDESC5, if
  640.             there is at least one defined.  You can also redirect the
  641.             decription input from a file like this:
  642.  
  643.             C:> type desc.txt | dxp a: image1 /d
  644.  
  645.             Make sure the description text file has exactly 5 lines of
  646.             text in it.
  647.  
  648.        /DOS By default, Disk eXPress creates self-extracting images that
  649.             can be run under OS/2 and DOS.  By specifying this switch, a
  650.             DOS only self-extracting image is created.  The DOS code has
  651.             been written so that it will run under OS/2 DOS box with
  652.             almost no speed penality.  This cuts self-extracting code
  653.             overhead by about 14K.
  654.  
  655.        /i   Create a non-self-extracting diskette image file.  The self-
  656.             extracting code will not be bundled with the resulting file.
  657.             Disk eXPress does not enforce any file extension for non-
  658.             self-extracting diskette image.  For consistency, it is
  659.             recommended to use ".DXP" as file extension.  Without
  660.             specifying this switch, the default file extension will be
  661.             ".EXE".
  662.  
  663.  
  664.  
  665.                                                                       12
  666.  
  667.  
  668.  
  669.        /n   Disable compression.  If the contents of the diskette is
  670.             highly compressed, Disk eXPress may not succeed in
  671.             compressing the data any further.  This can be visually
  672.             inspected when Disk eXPress is run the first time without
  673.             the /n switch.  If the real-time compression rate is very
  674.             low (close to 0%), disabling compression is recommended.
  675.  
  676.        /p   Specify pass phrase for encrypting the image file.  Pass
  677.             phrase can be specified immediately after the switch;
  678.             otherwise, it will prompt you to type in a pass phrase.  The
  679.             pass phrase must be 4 to 64 characters in length.  It is
  680.             case sensitive and spaces can be embedded.  When the pass
  681.             phrase contains space, it can be specified as: /p"Secret
  682.             Pass Phrase".  Special characters can also be entered by
  683.             using the Alt-NumPad key sequence.  For example, if you wish
  684.             to use the "beta" character, you can hold down the Alt key,
  685.             press 225 on the NumPad, and release the Alt key.
  686.  
  687.             Once the pass phrase is used, Disk eXPress will
  688.             automatically encrypt the image data based on the pass
  689.             phrase.  The pass phrase and the encryption key are not
  690.             stored anywhere in the image file, thus making it impossible
  691.             for anyone to find out the pass phrase or the encryption key
  692.             by looking at a binary dump.  The self-extracting image will
  693.             prompt for pass phrase and perform 32-bit CRC checking to
  694.             make sure the image header and the executable code are not
  695.             tampered.  The self-extracting code will not run if it fails
  696.             the CRC test.
  697.  
  698.       NOTE: Data encryption is only as good as the person who uses it.
  699.             Better security can be obtained by specifying a longer pass
  700.             phrase with six characters or more.  It is also the user's
  701.             responsibility to keep the pass phrase in a safe place and
  702.             make it known to the other users who are also using the Disk
  703.             eXPress image archives.
  704.  
  705.             The encryption algorithm used is by no means bullet proof,
  706.             and may not resist cryptanalysis.  However, it is reasonably
  707.             complex to prevent the average computer users from
  708.             deciphering the data.  Better result is obtained if the
  709.             image file is compressed.  If you have sensitive data, the
  710.             use of a more sophisticated encrypter is recommended.
  711.  
  712.        /s   Suppress any overwrite (y/N) prompt.  It assumes an answer
  713.             of 'y' to all prompts.
  714.  
  715.        Three switches are available when no drive letter is specified in
  716.        regular mode:
  717.  
  718.        /d   Display the description of the image file.  The full path to
  719.             the diskette image must be specified.
  720.  
  721.  
  722.  
  723.  
  724.                                                                       13
  725.  
  726.  
  727.  
  728.        /e   Edit the description stored in an image file.  This is used
  729.             to correct the description later instead of having to redo
  730.             the entire image from scratch.  It will automatically prompt
  731.             you for the pass phrase if the image file is encrypted.  See
  732.             the /p switch on bypassing the pass phrase prompt.
  733.  
  734.        /r   Replace or add extract code to image file.  Full path and
  735.             complete filename must be specified.  If /r is used against
  736.             a self-extracting diskette image, the self-extracting code
  737.             will be replaced with the one stored within Disk eXPress.
  738.             No backup file is created if the operation is successful.
  739.             If used against a non-self-extracting image file, the self-
  740.             extracting code will be added, and a new file with ".EXE"
  741.             extension will be created.  The ".EXE" file created by this
  742.             switch is stored in the same location of the original image
  743.             file.  The /DOS, /e, /p and /s switch can be used together
  744.             with this switch.
  745.  
  746.             Note: The file extension replacement algorithm simply
  747.             removes any file extension starting after the last '.' and
  748.             then appending "EXE".  Since it is possible to use multiple
  749.             '.' under HPFS, the text after the last '.' is discarded.
  750.             It is advisable to avoid using multiple '.' with HPFS
  751.             filename, and use a space instead.
  752.  
  753.  
  754.        8.2. Extract mode
  755.  
  756.        Disk eXPress can decode and extract 3 types of images: type 0
  757.        (non-compressed), type 1 (Version 1 compression), and type 2
  758.        (Version 2 compression), including non-DOS, and encrypted images.
  759.        When Disk eXPress is used for extracting an image file, the image
  760.        file can be a non-self-extracting image file, or a self-
  761.        extracting executable.  The full path to the image file must be
  762.        specified.  Wild cards are not allowed.  All the switches
  763.        available in the extract mode of Disk eXPress are identical to
  764.        the standalone Xtract program.
  765.  
  766.        /t   Test the integrity of the image only.  Disk eXPress performs
  767.             data decompression (if necessary) and runs through a 32-bit
  768.             CRC computation on the data stored in the image.  It reports
  769.             the stored and computed CRC values.  If these values do not
  770.             match, the image will be bad.  It overrides the
  771.             specification of a drive letter, /f, /s, /v, and the /c
  772.             switch.  It will prompt for pass phrase if the image file is
  773.             encrypted.  See the /p switch on bypassing the prompt.
  774.  
  775.        /d   Display the description of the image file.  The full path to
  776.             the diskette image must be specified.
  777.  
  778.        /f   Format the target diskette.  Only standard PC physical
  779.             diskette formats with 512-byte sectors are supported.  If
  780.             /fs is specified, sector skew optimization is performed to
  781.  
  782.  
  783.                                                                       14
  784.  
  785.  
  786.  
  787.             allow the fastest diskette read/write speed in the future.
  788.             The speed up is anywhere from 10 to 50% depending on the
  789.             hardware.  The formatting time is longer when this option is
  790.             specified.  Sector skew optimization is only available under
  791.             OS/2, and not available in the shareware release.
  792.  
  793.        /p   Specify pass phrase for unlocking the file for various
  794.             operations.  Disk eXPress detects encrypted image file, and
  795.             will automatically prompt for a pass phrase even if this
  796.             switch is not specified.  Pass phrase can specified
  797.             immediately after the switch to bypass the pass phrase
  798.             prompt.  The pass phrase must be 4 to 64 characters in
  799.             length.  It is case sensitive and spaces can be embedded.
  800.             When the pass phrase contains space, it can be specified as:
  801.             /p"Secret Pass Phrase".
  802.  
  803.        /s   Suppress any overwrite (y/N) prompt.  It assumes an answer
  804.             of 'y' to all prompts.
  805.  
  806.        /v   Verify on.  It performs a track verify via operating system
  807.             call, follows by a track read, and a byte-by-byte comparison
  808.             with the original data.  The byte-by-byte comparison is
  809.             added as an extra protection should the CRC test of track
  810.             verify failed to pick up an error.  If disk cache is used
  811.             under DOS, the byte comparison test may not be valid due to
  812.             the fact that the cache is supplying the data with no actual
  813.             read performed on the diskette.  Disk eXPress bypasses disk
  814.             cache when it is run under OS/2.
  815.  
  816.        /w   Wipe unused tracks on diskette during image file extraction.
  817.             Unused space at the end of the target diskette is written
  818.             with hex F6 so that any sensitive data previously written on
  819.             the diskette are erased.  NOTE: this function is not
  820.             available in self-extracting images.
  821.  
  822.        /c   Convert the image onto a higher density diskette.  The
  823.             target diskette must be of different form factor (3.5" to
  824.             5.25" and vice versa, but not 3.5" 720K to 3.5" 1.44M due to
  825.             hardware limitations).  It requires a formatted diskette,
  826.             and will automatically override the /f switch.
  827.  
  828.             Here is a list of all the diskette conversion possibilities:
  829.  
  830.               160K/180K/320K/360K to 720K/1.44M/2.88M
  831.                              720K to 1.2M
  832.                              1.2M to 1.44M/2.88M
  833.  
  834.        /q   QuickFormat of diskette in drive.  This is useful for
  835.             quickly erasing all files on a DOS formatted diskette.  The
  836.             File Allocation Table (FAT) and all directory entries are
  837.             erased to zero.  Bad sectors and volume serial are preserved
  838.             after QuickFormatting.
  839.  
  840.  
  841.  
  842.                                                                       15
  843.  
  844.  
  845.  
  846.  
  847.        8.3. Batch mode support
  848.  
  849.        You can use Disk eXPress, Xtract, and self-extracting images in a
  850.        batch file (.CMD file under OS/2 and .BAT file under DOS).  For a
  851.        list of error return codes, please refer to section 10.2 for
  852.        details.  Normally, all display output is sent to standard out
  853.        (stdout), and can be redirected to a file.  Errors and warning
  854.        messages are sent to standard error (stderr).  You can discard
  855.        all Disk eXPress output by redirecting both stdout and stderr to
  856.        NUL (ie: DXP A: MyDisk > NUL 2>NUL).
  857.  
  858.        In addition to entering diskette image description via the /d
  859.        switch, you can also enter the description from within a batch
  860.        file as shown below:
  861.  
  862.        SET DXPDESC1=Disk eXPress
  863.        SET DXPDESC2=Version 2.31
  864.        SET DXPDESC4=(c) Copyright 1991-93 Albert J. Shan
  865.        dxp a: MyDisk /d
  866.        SET DXPDESC1=
  867.        SET DXPDESC2=
  868.        SET DXPDESC4=
  869.  
  870.        Line 3 and 5 are treated as blanks since DXPDESC3 and DXPDESC5
  871.        are not specified.  Batch mode description editing (/e) is also
  872.        supported.
  873.  
  874.  
  875.        8.4. Disk eXPress real-time bar graph display
  876.  
  877.        One of the new features of Disk eXPress Version 2 is the use of a
  878.        real-time bar graph display.  Disk eXPress and Xtract will
  879.        exercise the multi-threading capability under OS/2, and you'll
  880.        see a display similar to the following:
  881.  
  882.                                    3%      25%       50%       75%      100%
  883.             Action Rate Track Head ├────────┼─────────┼─────────┼─────────┤
  884.           COMPRESS  52%   37    1  █████████████████▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒
  885.  
  886.        The above bar graph depicts 3 concurrent threads:
  887.  
  888.           ▒ Read thread.  Performs continuous reading of diskette (or
  889.             disk file if it is in extract mode), and releases the
  890.             diskette drive (or disk file) for use by another process
  891.             when reading is finished.
  892.           ▓ Compression/decompression thread.  Compression/decompression
  893.             is performed as soon as data is available from the read
  894.             thread.
  895.           █ Write thread.  Compressed data is written to a disk file (or
  896.             decompressed data written to diskette in extract mode).
  897.             This can be another diskette drive or any block device.
  898.  
  899.  
  900.  
  901.                                                                       16
  902.  
  903.  
  904.  
  905.        The description under "Action" shows which thread has just
  906.        started executing.
  907.  
  908.        The number under "Rate" shows the current compression rate.  It
  909.        is the percentage reduction with respect to the size of the
  910.        original data.
  911.  
  912.        The numbers under "Track" and "Head" show the current disk track
  913.        and head where operation is being performed.
  914.  
  915.        Since DOS has only one thread of execution, only one bar is
  916.        updated at any time.  Read/Compress/Decompress/Write occurs
  917.        sequentially.
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.                                                                       17
  961.  
  962.  
  963.  
  964.        9.0. EXAMPLES
  965.        _________________________________________________________________
  966.  
  967.        9.1. Example 1
  968.  
  969.        To pack a 360K diskette in drive B: onto a file called 'disk1'
  970.        for modem transmission, you type:
  971.  
  972.            dxp b: e:\upload\disk1
  973.  
  974.        By default, Disk eXPress will automatically append ".EXE" onto
  975.        the output file name.  If you specify something else as file
  976.        extension, it will be removed before appending.  If the command
  977.        line syntax is correct, Disk eXPress will first run a self-check
  978.        for virus/modification, then it will proceed to create the
  979.        diskette image.  You'll receive a screen similar to the following
  980.        after Disk eXPress is finished:
  981.  
  982.           360K diskette found in drive B:
  983.  
  984.           File Allocation Table statistics:
  985.           Track 33 head 1 contains the last allocated sector, sector 609.
  986.  
  987.                                    3%      25%       50%       75%      100%
  988.             Action Rate Track Head ├────────┼─────────┼─────────┼─────────┤
  989.              STORE  28%   33    1  ████████████████████████████████████████
  990.  
  991.           32-bit CRC of diskette image is DB49A615
  992.  
  993.        By default, Disk eXPress will analyze the FAT and save up to the
  994.        last sector used on the diskette.  In the above example, it stops
  995.        at track 33, head 1, because sector 609 is the last allocated
  996.        sector.  If you have a fragmented diskette, you might receive a
  997.        screen similar to the following when you run Disk eXPress:
  998.  
  999.           1.44M diskette found in drive A:
  1000.  
  1001.           File Allocation Table statistics:
  1002.           Track 36 head 1 contains the last allocated sector, sector 1319.
  1003.  
  1004.           Disk fragmentation detected:
  1005.           814 unallocated sectors will be saved in image
  1006.           (61% of total used sectors).
  1007.           The diskette requires compression for maximum storage efficiency.
  1008.  
  1009.                                    3%      25%       50%       75%      100%
  1010.             Action Rate Track Head ├────────┼─────────┼─────────┼─────────┤
  1011.           COMPRESS  48%   16    0  ██████▓▓▒▒▒▒▒▒▒
  1012.  
  1013.        etc.
  1014.  
  1015.        Running a disk optimization utility on the diskette will help
  1016.        packing files tightly together for maximum storage efficiency.
  1017.  
  1018.  
  1019.                                                                       18
  1020.  
  1021.  
  1022.  
  1023.        Alternatively, you can copy all the files to another freshly
  1024.        formatted diskette so that the files are packed next to each
  1025.        other.
  1026.  
  1027.  
  1028.        9.2. Example 2
  1029.  
  1030.        To save the entire diskette from drive A: (including all the
  1031.        unused sectors) onto the image with compression turned off, you
  1032.        type:
  1033.  
  1034.            dxp /a /n a: e:\upload\disk1
  1035.  
  1036.        You will see this warning if the file exists:
  1037.  
  1038.           E:\UPLOAD\DISK1.EXE exists, overwrite? (y/N):
  1039.  
  1040.        Default action is 'No' for pressing the 'Enter' key.  Type 'y'
  1041.        then 'Enter' to overwrite.
  1042.  
  1043.        To suppress the warning, specify /s on the command line:
  1044.  
  1045.            dxp /a /n a: e:\upload\disk1 /s
  1046.  
  1047.        Notice that you can specify switches anywhere you want on the
  1048.        command line, Disk eXPress will sort them out for you.
  1049.  
  1050.  
  1051.        9.3. Example 3
  1052.  
  1053.        To enter a description when creating an image, you type:
  1054.  
  1055.            dxp b: test15 /s /d
  1056.  
  1057.        You'll see:
  1058.  
  1059.           Please enter diskette description: (5 lines max.)
  1060.             ┌────────────────────────────────────────┐
  1061.           1:
  1062.  
  1063.        You're then prompted to enter a maximum of five lines of
  1064.        description (40 characters for each line).  To enter a blank
  1065.        line, just press Enter.
  1066.  
  1067.        To continue our example, type in the following:
  1068.  
  1069.           Please enter diskette description: (5 lines max.)
  1070.             ┌────────────────────────────────────────┐
  1071.           1: Joe,
  1072.           2: This is the latest beta release of Space
  1073.           3: Commander.  Try it out without a joy
  1074.           4: stick and let me know how it goes.
  1075.           5:   Regards, John
  1076.  
  1077.  
  1078.                                                                       19
  1079.  
  1080.  
  1081.  
  1082.  
  1083.           360K diskette found in drive B:
  1084.  
  1085.           File Allocation Table statistics:
  1086.           Track 33 head 1 contains the last allocated sector, sector 609.
  1087.  
  1088.                                    3%      25%       50%       75%      100%
  1089.             Action Rate Track Head ├────────┼─────────┼─────────┼─────────┤
  1090.              STORE  28%   16    1  ███████████████████▓▓▒▒▒▒▒▒▒
  1091.  
  1092.        etc.
  1093.  
  1094.  
  1095.        9.4. Example 4
  1096.  
  1097.        To change the description of the diskette image created in the
  1098.        last example, type:
  1099.  
  1100.            dxp e:\upload\test15.exe /e
  1101.  
  1102.        The /e switch allows description in the image file to be edited.
  1103.        Note: The /r switch (self-extracting code replacement) can also
  1104.        be specified together with the /e switch.
  1105.  
  1106.  
  1107.        9.5. Example 5
  1108.  
  1109.        Now that you have the self-extracting image, what are you going
  1110.        to do with it?  Simply run it!  To unpack the disk image created
  1111.        in example 3, type 'test15' to see the help screen:
  1112.  
  1113.           Disk eXPress Self-Extracting Diskette Image (OS/2 and DOS)
  1114.           Version 2.31  11/08/93
  1115.           (c) Copyright 1991-93 Albert J. Shan.  All Rights Reserved.
  1116.  
  1117.           Usage: TEST15 [/d] [/s] [/t] [drive:]
  1118.  
  1119.              /d  Display image description
  1120.              /s  Suppress overwrite prompt
  1121.              /t  Test image integrity only
  1122.           drive  Drive letter of a valid floppy disk drive
  1123.  
  1124.           Note: The target diskette must be formatted and must not
  1125.                 have any bad sectors.
  1126.  
  1127.        To finish our example, now type:
  1128.  
  1129.            test15 b:
  1130.  
  1131.        You'll see:
  1132.  
  1133.           ┌────── Diskette Image Description ──────┐
  1134.            Joe,
  1135.  
  1136.  
  1137.                                                                       20
  1138.  
  1139.  
  1140.  
  1141.            This is the latest beta release of Space
  1142.            Commander.  Try it out without a joy
  1143.            stick and let me know how it goes.
  1144.              Regards, John
  1145.           └────────────────────────────────────────┘
  1146.           360K diskette image (Disk eXPress type 2)
  1147.  
  1148.  
  1149.           Diskette in drive B: is about to be overwritten
  1150.           with new information.  Do you wish to continue? (y/N)
  1151.  
  1152.        Default action is 'No' for pressing the 'Enter' key.  Press 'y'
  1153.        then 'Enter' to start diskette image extraction.  The /s switch
  1154.        can be specified to bypass the prompt.  The /d switch can be used
  1155.        alone to display the description in the image.
  1156.  
  1157.  
  1158.        9.6. Example 6
  1159.  
  1160.        To test the integrity of the diskette image without writing out
  1161.        to the diskette, simply type:
  1162.  
  1163.            test15 /t
  1164.  
  1165.        And you'll see:
  1166.  
  1167.           ┌────── Diskette Image Description ──────┐
  1168.            Joe,
  1169.            This is the latest beta release of Space
  1170.            Commander.  Try it out without a joy
  1171.            stick and let me know how it goes.
  1172.              Regards, John
  1173.           └────────────────────────────────────────┘
  1174.           360K diskette image (Disk eXPress type 2)
  1175.  
  1176.           100% Read
  1177.  
  1178.             32-bit CRC stored: DB49A615
  1179.           32-bit CRC computed: DB49A615
  1180.  
  1181.        Note: /t overrides drive letter specified on the command line.
  1182.  
  1183.  
  1184.        9.7. Example 7
  1185.  
  1186.        Now that Joe got the diskette image.  He doesn't have a 360K or
  1187.        1.2M drive (5.25" drive).  All he has is a 1.44M 3.5" drive.  He
  1188.        also happens to have a spare 720K (low-density) diskette he can
  1189.        use.  What can he do?  He can use the /c switch in the extract
  1190.        mode of Disk eXPress or Xtract.  The /c switch can be used to
  1191.        convert the diskette image from 360K to 720K, and all the data
  1192.        will still be intact, and usable.  The diskette used for
  1193.  
  1194.  
  1195.  
  1196.                                                                       21
  1197.  
  1198.  
  1199.  
  1200.        conversion must be pre-formatted.  So, Joe went ahead and
  1201.        formatted the diskette as a 720K diskette, and he types:
  1202.  
  1203.            dxp test15.exe a: /c
  1204.  
  1205.        And receives the following screen (answer y at the prompt):
  1206.  
  1207.         Checking test15.EXE for modifications ... OK.
  1208.  
  1209.           360K diskette image (Disk eXPress type 2)
  1210.  
  1211.         Diskette in drive A: is about to be overwritten
  1212.         with new information.  Do you wish to continue? (y/N) y
  1213.  
  1214.           720K diskette found in drive A:
  1215.         Converting 360K image onto 720K diskette ...
  1216.  
  1217.                               3%      25%       50%       75%      100%
  1218.             Action Track Head ├────────┼─────────┼─────────┼─────────┤
  1219.         DECOMPRESS   20    0  █████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  1220.  
  1221.        etc.
  1222.  
  1223.  
  1224.        9.8. Example 8
  1225.  
  1226.        To QuickFormat a diskette, type:
  1227.  
  1228.          dxp a: /q
  1229.  
  1230.        OR
  1231.  
  1232.          xtract a: /q
  1233.  
  1234.        And you'll see:
  1235.  
  1236.        Drive A: is about to be QuickFormatted.
  1237.        Do you wish to continue? (y/N)
  1238.  
  1239.        The default action is 'No' for pressing the Enter key.  The /s
  1240.        switch can be used to bypass the warning prompt.
  1241.  
  1242.        Type 'y' and press Enter and you'll see:
  1243.  
  1244.        QuickFormatting 1.44M diskette ... Done.
  1245.  
  1246.  
  1247.        9.9. Example 9
  1248.  
  1249.        To build a non-self-extracting, non-DOS diskette image, with pass
  1250.        phrase at the same time, type:
  1251.  
  1252.          dxp a: unixboot.dxp /i /p"FoO BaR"
  1253.  
  1254.  
  1255.                                                                       22
  1256.  
  1257.  
  1258.  
  1259.        10.0. ERROR MESSAGES
  1260.        _________________________________________________________________
  1261.  
  1262.        10.1. List of error messages
  1263.  
  1264.        Disk eXPress incorporates 32-bit CRC checking for itself and the
  1265.        image it creates.  In the event of a virus infection or other
  1266.        means of modifications (such as errors in electronic
  1267.        transmissions), the program will abort, and the following message
  1268.        is displayed:
  1269.  
  1270.        *** Executable code has been modified!
  1271.  
  1272.        Here is a run down of major error messages produced by Disk
  1273.        eXPress, Xtract and self-extracting images: (usually a beep
  1274.        followed by one of the following messages)
  1275.  
  1276.        - For bad or not properly formatted diskette during read, write,
  1277.          format or verify (no beep for any Abort, Retry messages):
  1278.  
  1279.          Read Error: Abort, Retry? (a/R):
  1280.  
  1281.          Write Error: Abort, Retry? (a/R):
  1282.  
  1283.          Write Error: Abort, Retry, Format once, Format all? (a/R/o/f):
  1284.  
  1285.          Format Error: Abort, Retry? (a/R):
  1286.  
  1287.          Verify Error: Abort, Retry? (a/R):
  1288.  
  1289.          *** Bad CRC.
  1290.  
  1291.          *** Sector not found.
  1292.  
  1293.          *** General failure reading drive X:
  1294.  
  1295.          *** Non-standard/unformatted diskette.
  1296.  
  1297.        - When disk is full during image creation (output will be
  1298.          deleted):
  1299.  
  1300.          *** Error writing disk or disk full.
  1301.  
  1302.        - With a write protected diskette during diskette write:
  1303.  
  1304.          *** Diskette is write protected.
  1305.  
  1306.        - When replacing self-extracting code in images with a lower
  1307.          revision level of Disk eXPress:
  1308.  
  1309.          *** Cannot operate on Disk eXPress Vx.xxx image.
  1310.  
  1311.        - When diskette drive is not ready:
  1312.  
  1313.  
  1314.                                                                       23
  1315.  
  1316.  
  1317.  
  1318.  
  1319.          *** Drive X: not ready.
  1320.  
  1321.        - When drive specified is not available or not a diskette drive:
  1322.  
  1323.          *** Invalid drive/path specified.
  1324.  
  1325.          *** Drive X: is not a floppy drive.
  1326.  
  1327.        - When attempting to replace a version 1 self-extracting header
  1328.          with version 2 by the /r switch:
  1329.  
  1330.          *** Cannot operate on Disk eXPress V1.0xx image.
  1331.  
  1332.        - When Disk eXPress or Xtract is asked to extract an unrecognized
  1333.          image file:
  1334.  
  1335.          *** Problem with file: filename
  1336.          Probable cause of problem:
  1337.  
  1338.          1. File is not a Disk eXPress image file,
  1339.          2. Image file has been modified,
  1340.          3. Image file was created by a special version of Disk eXPress.
  1341.  
  1342.        - When Disk eXPress or Xtract is asked to convert a diskette
  1343.          image to the same form factor diskette:
  1344.  
  1345.          *** Conversion not supported on target diskette.
  1346.  
  1347.        - When pass phrase entered is incorrect upon an image extraction:
  1348.  
  1349.         *** Incorrect pass phrase, operation aborted.
  1350.  
  1351.        - Some error messages returned by Disk eXPress are displayed as:
  1352.  
  1353.          *** Error n, Drive X:
  1354.  
  1355.        In such event, please document the procedure on how to get to the
  1356.        above error, and contact me as soon as possible.
  1357.  
  1358.  
  1359.        10.2. List of error return codes
  1360.  
  1361.        The following is a list of error return codes produced by Disk
  1362.        eXPress, Xtract, and self-extracting images:
  1363.  
  1364.        Code Number    Cause of Error
  1365.             0         Operation successful, no error found.
  1366.             1         No operation is performed; such as the displaying
  1367.                       of help screens.
  1368.             2         Incorrect Operating System version.
  1369.             3         User abort by answering 'N' to a (Y/N) type
  1370.                       prompt.
  1371.  
  1372.  
  1373.                                                                       24
  1374.  
  1375.  
  1376.  
  1377.             4         User press Ctrl-C or Ctrl-Break to abort program.
  1378.             5         Memory allocation error (Program error).
  1379.             6         Cannot create thread under OS/2 (check THREADS= in
  1380.                       OS/2's CONFIG.SYS).
  1381.             7         Other system errors.  The actual return code is
  1382.                       displayed on the screen as: *** Error n, Drive X:.
  1383.             8-9       Reserved.
  1384.             10        Drive specified is not a floppy drive.
  1385.             11        Invalid Drive or path specified.
  1386.             12        Uncertain media in drive (non-standard/unformatted
  1387.                       diskette).
  1388.             13        Diskette Drive not ready.  No diskette in drive,
  1389.                       or drive is in used by another program.
  1390.             14        Diskette is write protected.
  1391.             15        Disk write error or disk full.
  1392.             16        CRC Error.  Possibily due to bad diskette.
  1393.             17        Sector not found.  Possibility due to bad
  1394.                       diskette.
  1395.             18        Diskette Format error.  Possibily due to bad
  1396.                       diskette.
  1397.             19        General failure.  Possibily due to unformatted
  1398.                       diskette.
  1399.             20-29     Reserved.
  1400.             30        Cannot open file.  Either it is not found or in
  1401.                       used by another program.
  1402.             31        Bad image file header.  Image header failed CRC
  1403.                       test.
  1404.             32        File is corrupted possibily due to error in
  1405.                       electronic transimssion or infection by virus.
  1406.             33        Bad image file CRC.  Possibily due to error in
  1407.                       electronic transmission.
  1408.             34        Incorrect image file version.
  1409.             35        Unknown image type.
  1410.             36-39     Reserved.
  1411.             40        Diskette and image file mismatch.
  1412.             41        Cannot format diskette due to diskette/image file
  1413.                       mismatch.
  1414.             42        The diskette capacity specified in /a is not
  1415.                       acceptable for the diskette drive.
  1416.             43        Cannot convert image file to the requested
  1417.                       diskette format due to floppy hardware limitation.
  1418.             44        Cannot QuickFormat diskette because it is not a
  1419.                       DOS formatted diskette.
  1420.             45        Incorrect pass phrase entered for unpacking the
  1421.                       image file.
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.                                                                       25
  1433.  
  1434.  
  1435.  
  1436.        11.0. LIMITATIONS
  1437.        _________________________________________________________________
  1438.  
  1439.        Diskette images created by Disk eXPress version 2 are not
  1440.        compatible with version 1 images.  Replacement of version 1 self-
  1441.        extracting code with the /r switch is not allowed.
  1442.  
  1443.        When Disk eXPress is used to create a self-extracting diskette
  1444.        image, the extract code is bundled as an overhead for each image
  1445.        created.  The overhead is currently at 25K (11K for DOS only
  1446.        image).  This is acceptable, considering the size of any non-
  1447.        trivial diskette image is usually quite large (in the order of
  1448.        several hundred kilo bytes or even mega bytes).  25K should
  1449.        require about two minutes for a 2400 baud modem to transfer, and
  1450.        with a 14.4K V.32bis modem, the transfer time is about 16
  1451.        seconds.
  1452.  
  1453.        Other limitations include the inability to read a diskette drive
  1454.        over the LAN (limitation of the network driver), and Disk eXPress
  1455.        over any copy protected programs.  Another limitation is its
  1456.        inability to read over physically bad sectors.
  1457.  
  1458.        Any suggestions and comments are welcome.  Suggestions for new
  1459.        features may eventually be incorporated into a future release.
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.                                                                       26
  1492.